package com.maxd.respository.selfSeckill;


import com.maxd.model.SelfSecKill;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface SelfSeckillJpaRepository extends JpaRepository<SelfSecKill, Long> {

    Page<SelfSecKill> findAll(Specification<SelfSecKill> specification, Pageable pageable);

    Page<SelfSecKill> findAll(Pageable pageable);
}
